package com.sm.user.service.impl;

import com.alibaba.nacos.api.config.annotation.NacosValue;
import com.sm.user.facade.UserFacade;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.beans.factory.annotation.Value;

/**
 * @ClassName: UserServiceImpl
 * @Description: TODO
 * @Author: huc
 * @Date: 2020/11/13 11:54
 * @Version: v1.0
 */
@DubboService
public class UserServiceImpl implements UserFacade {

    @NacosValue(value = "${test:null}", autoRefreshed = true)
    private String test;

    @Override
    public String getUserInfo() {
        return "huc :" + test;
    }
}
